/**
 * 
 */
package com.lx.helloworld.eureka.consumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/* author:tracy.bai
date:2018年10月18日 下午5:04:01
 **/
/**
 * @author tracy.bai
 *
 */

@RestController
public class HelloControl {
	
	@Autowired
    HelloProvider HelloProvider;
 
    @RequestMapping("/")
    public String index() {
        return HelloProvider.hello();
    }


}
